package com.alison.base;


import com.alison.datastream.chapter9_sideout.TestSideOutputStream;

/**
 * @Author alison
 * @Date 2024/4/5 21:32
 * @Version 1.0
 * @Description
 */
public class Source {

    public static void main(String[] args)  throws Exception{
        System.out.println(1 << 30);//1_073_741_824
        String path = TestSideOutputStream.class.getClassLoader().getResources("order/orderLog.txt").nextElement().getPath();
        System.out.println(path);
//        SourceFunc fun = new SourceFunc();
//        fun.run();
//        System.out.println(1);
    }

    public static class SourceFunc {

        int count = 1;
        volatile boolean isRunning = true;

        public void run() {
            while (isRunning) {
                if (count == 10) {
                    continue;
                }
                count++;

            }
        }
    }
}
